package com.jieshuibao.model.db;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AnswerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public AnswerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public AnswerExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("answer.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("answer.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("answer.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("answer.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("answer.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("answer.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("answer.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("answer.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("answer.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("answer.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("answer.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("answer.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("answer.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("answer.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberIsNull() {
            addCriterion("answer.phoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberIsNotNull() {
            addCriterion("answer.phoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberEqualTo(String value) {
            addCriterion("answer.phoneNumber =", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotEqualTo(String value) {
            addCriterion("answer.phoneNumber <>", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberGreaterThan(String value) {
            addCriterion("answer.phoneNumber >", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("answer.phoneNumber >=", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLessThan(String value) {
            addCriterion("answer.phoneNumber <", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLessThanOrEqualTo(String value) {
            addCriterion("answer.phoneNumber <=", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLike(String value) {
            addCriterion("answer.phoneNumber like", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotLike(String value) {
            addCriterion("answer.phoneNumber not like", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberIn(List<String> values) {
            addCriterion("answer.phoneNumber in", values, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotIn(List<String> values) {
            addCriterion("answer.phoneNumber not in", values, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberBetween(String value1, String value2) {
            addCriterion("answer.phoneNumber between", value1, value2, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotBetween(String value1, String value2) {
            addCriterion("answer.phoneNumber not between", value1, value2, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("answer.content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("answer.content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("answer.content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("answer.content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("answer.content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("answer.content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("answer.content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("answer.content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("answer.content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("answer.content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("answer.content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("answer.content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("answer.content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("answer.content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIsNull() {
            addCriterion("answer.questionUuid is null");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIsNotNull() {
            addCriterion("answer.questionUuid is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidEqualTo(String value) {
            addCriterion("answer.questionUuid =", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotEqualTo(String value) {
            addCriterion("answer.questionUuid <>", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidGreaterThan(String value) {
            addCriterion("answer.questionUuid >", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidGreaterThanOrEqualTo(String value) {
            addCriterion("answer.questionUuid >=", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLessThan(String value) {
            addCriterion("answer.questionUuid <", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLessThanOrEqualTo(String value) {
            addCriterion("answer.questionUuid <=", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidLike(String value) {
            addCriterion("answer.questionUuid like", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotLike(String value) {
            addCriterion("answer.questionUuid not like", value, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidIn(List<String> values) {
            addCriterion("answer.questionUuid in", values, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotIn(List<String> values) {
            addCriterion("answer.questionUuid not in", values, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidBetween(String value1, String value2) {
            addCriterion("answer.questionUuid between", value1, value2, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andQuestionUuidNotBetween(String value1, String value2) {
            addCriterion("answer.questionUuid not between", value1, value2, "questionUuid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("answer.status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("answer.status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("answer.status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("answer.status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("answer.status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer.status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("answer.status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("answer.status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("answer.status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("answer.status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("answer.status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("answer.status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGrabDateIsNull() {
            addCriterion("answer.grabDate is null");
            return (Criteria) this;
        }

        public Criteria andGrabDateIsNotNull() {
            addCriterion("answer.grabDate is not null");
            return (Criteria) this;
        }

        public Criteria andGrabDateEqualTo(Date value) {
            addCriterion("answer.grabDate =", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotEqualTo(Date value) {
            addCriterion("answer.grabDate <>", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateGreaterThan(Date value) {
            addCriterion("answer.grabDate >", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateGreaterThanOrEqualTo(Date value) {
            addCriterion("answer.grabDate >=", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateLessThan(Date value) {
            addCriterion("answer.grabDate <", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateLessThanOrEqualTo(Date value) {
            addCriterion("answer.grabDate <=", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateIn(List<Date> values) {
            addCriterion("answer.grabDate in", values, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotIn(List<Date> values) {
            addCriterion("answer.grabDate not in", values, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateBetween(Date value1, Date value2) {
            addCriterion("answer.grabDate between", value1, value2, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotBetween(Date value1, Date value2) {
            addCriterion("answer.grabDate not between", value1, value2, "grabDate");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("answer.date is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("answer.date is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterion("answer.date =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterion("answer.date <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterion("answer.date >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterion("answer.date >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterion("answer.date <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterion("answer.date <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterion("answer.date in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterion("answer.date not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterion("answer.date between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterion("answer.date not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDiscussNumIsNull() {
            addCriterion("answer.discussNum is null");
            return (Criteria) this;
        }

        public Criteria andDiscussNumIsNotNull() {
            addCriterion("answer.discussNum is not null");
            return (Criteria) this;
        }

        public Criteria andDiscussNumEqualTo(Integer value) {
            addCriterion("answer.discussNum =", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumNotEqualTo(Integer value) {
            addCriterion("answer.discussNum <>", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumGreaterThan(Integer value) {
            addCriterion("answer.discussNum >", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer.discussNum >=", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumLessThan(Integer value) {
            addCriterion("answer.discussNum <", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumLessThanOrEqualTo(Integer value) {
            addCriterion("answer.discussNum <=", value, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumIn(List<Integer> values) {
            addCriterion("answer.discussNum in", values, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumNotIn(List<Integer> values) {
            addCriterion("answer.discussNum not in", values, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumBetween(Integer value1, Integer value2) {
            addCriterion("answer.discussNum between", value1, value2, "discussNum");
            return (Criteria) this;
        }

        public Criteria andDiscussNumNotBetween(Integer value1, Integer value2) {
            addCriterion("answer.discussNum not between", value1, value2, "discussNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumIsNull() {
            addCriterion("answer.approveNum is null");
            return (Criteria) this;
        }

        public Criteria andApproveNumIsNotNull() {
            addCriterion("answer.approveNum is not null");
            return (Criteria) this;
        }

        public Criteria andApproveNumEqualTo(Integer value) {
            addCriterion("answer.approveNum =", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotEqualTo(Integer value) {
            addCriterion("answer.approveNum <>", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumGreaterThan(Integer value) {
            addCriterion("answer.approveNum >", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer.approveNum >=", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumLessThan(Integer value) {
            addCriterion("answer.approveNum <", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumLessThanOrEqualTo(Integer value) {
            addCriterion("answer.approveNum <=", value, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumIn(List<Integer> values) {
            addCriterion("answer.approveNum in", values, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotIn(List<Integer> values) {
            addCriterion("answer.approveNum not in", values, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumBetween(Integer value1, Integer value2) {
            addCriterion("answer.approveNum between", value1, value2, "approveNum");
            return (Criteria) this;
        }

        public Criteria andApproveNumNotBetween(Integer value1, Integer value2) {
            addCriterion("answer.approveNum not between", value1, value2, "approveNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumIsNull() {
            addCriterion("answer.opposeNum is null");
            return (Criteria) this;
        }

        public Criteria andOpposeNumIsNotNull() {
            addCriterion("answer.opposeNum is not null");
            return (Criteria) this;
        }

        public Criteria andOpposeNumEqualTo(Integer value) {
            addCriterion("answer.opposeNum =", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumNotEqualTo(Integer value) {
            addCriterion("answer.opposeNum <>", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumGreaterThan(Integer value) {
            addCriterion("answer.opposeNum >", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer.opposeNum >=", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumLessThan(Integer value) {
            addCriterion("answer.opposeNum <", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumLessThanOrEqualTo(Integer value) {
            addCriterion("answer.opposeNum <=", value, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumIn(List<Integer> values) {
            addCriterion("answer.opposeNum in", values, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumNotIn(List<Integer> values) {
            addCriterion("answer.opposeNum not in", values, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumBetween(Integer value1, Integer value2) {
            addCriterion("answer.opposeNum between", value1, value2, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andOpposeNumNotBetween(Integer value1, Integer value2) {
            addCriterion("answer.opposeNum not between", value1, value2, "opposeNum");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("answer.score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("answer.score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("answer.score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("answer.score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("answer.score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer.score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("answer.score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("answer.score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("answer.score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("answer.score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("answer.score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("answer.score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andAuditorIsNull() {
            addCriterion("answer.auditor is null");
            return (Criteria) this;
        }

        public Criteria andAuditorIsNotNull() {
            addCriterion("answer.auditor is not null");
            return (Criteria) this;
        }

        public Criteria andAuditorEqualTo(String value) {
            addCriterion("answer.auditor =", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorNotEqualTo(String value) {
            addCriterion("answer.auditor <>", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorGreaterThan(String value) {
            addCriterion("answer.auditor >", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorGreaterThanOrEqualTo(String value) {
            addCriterion("answer.auditor >=", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorLessThan(String value) {
            addCriterion("answer.auditor <", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorLessThanOrEqualTo(String value) {
            addCriterion("answer.auditor <=", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorLike(String value) {
            addCriterion("answer.auditor like", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorNotLike(String value) {
            addCriterion("answer.auditor not like", value, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorIn(List<String> values) {
            addCriterion("answer.auditor in", values, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorNotIn(List<String> values) {
            addCriterion("answer.auditor not in", values, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorBetween(String value1, String value2) {
            addCriterion("answer.auditor between", value1, value2, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditorNotBetween(String value1, String value2) {
            addCriterion("answer.auditor not between", value1, value2, "auditor");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNull() {
            addCriterion("answer.auditTime is null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNotNull() {
            addCriterion("answer.auditTime is not null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeEqualTo(Date value) {
            addCriterion("answer.auditTime =", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotEqualTo(Date value) {
            addCriterion("answer.auditTime <>", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThan(Date value) {
            addCriterion("answer.auditTime >", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("answer.auditTime >=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThan(Date value) {
            addCriterion("answer.auditTime <", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThanOrEqualTo(Date value) {
            addCriterion("answer.auditTime <=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIn(List<Date> values) {
            addCriterion("answer.auditTime in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotIn(List<Date> values) {
            addCriterion("answer.auditTime not in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeBetween(Date value1, Date value2) {
            addCriterion("answer.auditTime between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotBetween(Date value1, Date value2) {
            addCriterion("answer.auditTime not between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditDesIsNull() {
            addCriterion("answer.auditDes is null");
            return (Criteria) this;
        }

        public Criteria andAuditDesIsNotNull() {
            addCriterion("answer.auditDes is not null");
            return (Criteria) this;
        }

        public Criteria andAuditDesEqualTo(String value) {
            addCriterion("answer.auditDes =", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesNotEqualTo(String value) {
            addCriterion("answer.auditDes <>", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesGreaterThan(String value) {
            addCriterion("answer.auditDes >", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesGreaterThanOrEqualTo(String value) {
            addCriterion("answer.auditDes >=", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesLessThan(String value) {
            addCriterion("answer.auditDes <", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesLessThanOrEqualTo(String value) {
            addCriterion("answer.auditDes <=", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesLike(String value) {
            addCriterion("answer.auditDes like", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesNotLike(String value) {
            addCriterion("answer.auditDes not like", value, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesIn(List<String> values) {
            addCriterion("answer.auditDes in", values, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesNotIn(List<String> values) {
            addCriterion("answer.auditDes not in", values, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesBetween(String value1, String value2) {
            addCriterion("answer.auditDes between", value1, value2, "auditDes");
            return (Criteria) this;
        }

        public Criteria andAuditDesNotBetween(String value1, String value2) {
            addCriterion("answer.auditDes not between", value1, value2, "auditDes");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("answer.remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("answer.remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("answer.remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("answer.remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("answer.remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("answer.remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("answer.remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("answer.remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("answer.remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("answer.remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("answer.remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("answer.remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("answer.remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("answer.remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("answer.delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("answer.delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("answer.delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("answer.delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("answer.delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("answer.delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("answer.delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("answer.delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("answer.delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("answer.delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("answer.delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("answer.delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("answer.delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("answer.delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andAppraisalIsNull() {
            addCriterion("answer.appraisal is null");
            return (Criteria) this;
        }

        public Criteria andAppraisalIsNotNull() {
            addCriterion("answer.appraisal is not null");
            return (Criteria) this;
        }

        public Criteria andAppraisalEqualTo(String value) {
            addCriterion("answer.appraisal =", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalNotEqualTo(String value) {
            addCriterion("answer.appraisal <>", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalGreaterThan(String value) {
            addCriterion("answer.appraisal >", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalGreaterThanOrEqualTo(String value) {
            addCriterion("answer.appraisal >=", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalLessThan(String value) {
            addCriterion("answer.appraisal <", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalLessThanOrEqualTo(String value) {
            addCriterion("answer.appraisal <=", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalLike(String value) {
            addCriterion("answer.appraisal like", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalNotLike(String value) {
            addCriterion("answer.appraisal not like", value, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalIn(List<String> values) {
            addCriterion("answer.appraisal in", values, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalNotIn(List<String> values) {
            addCriterion("answer.appraisal not in", values, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalBetween(String value1, String value2) {
            addCriterion("answer.appraisal between", value1, value2, "appraisal");
            return (Criteria) this;
        }

        public Criteria andAppraisalNotBetween(String value1, String value2) {
            addCriterion("answer.appraisal not between", value1, value2, "appraisal");
            return (Criteria) this;
        }

        public Criteria andTaxIsNull() {
            addCriterion("answer.tax is null");
            return (Criteria) this;
        }

        public Criteria andTaxIsNotNull() {
            addCriterion("answer.tax is not null");
            return (Criteria) this;
        }

        public Criteria andTaxEqualTo(String value) {
            addCriterion("answer.tax =", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotEqualTo(String value) {
            addCriterion("answer.tax <>", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThan(String value) {
            addCriterion("answer.tax >", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThanOrEqualTo(String value) {
            addCriterion("answer.tax >=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThan(String value) {
            addCriterion("answer.tax <", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThanOrEqualTo(String value) {
            addCriterion("answer.tax <=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLike(String value) {
            addCriterion("answer.tax like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotLike(String value) {
            addCriterion("answer.tax not like", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxIn(List<String> values) {
            addCriterion("answer.tax in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotIn(List<String> values) {
            addCriterion("answer.tax not in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxBetween(String value1, String value2) {
            addCriterion("answer.tax between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotBetween(String value1, String value2) {
            addCriterion("answer.tax not between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTopicIsNull() {
            addCriterion("answer.topic is null");
            return (Criteria) this;
        }

        public Criteria andTopicIsNotNull() {
            addCriterion("answer.topic is not null");
            return (Criteria) this;
        }

        public Criteria andTopicEqualTo(String value) {
            addCriterion("answer.topic =", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotEqualTo(String value) {
            addCriterion("answer.topic <>", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThan(String value) {
            addCriterion("answer.topic >", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicGreaterThanOrEqualTo(String value) {
            addCriterion("answer.topic >=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThan(String value) {
            addCriterion("answer.topic <", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLessThanOrEqualTo(String value) {
            addCriterion("answer.topic <=", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicLike(String value) {
            addCriterion("answer.topic like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotLike(String value) {
            addCriterion("answer.topic not like", value, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicIn(List<String> values) {
            addCriterion("answer.topic in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotIn(List<String> values) {
            addCriterion("answer.topic not in", values, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicBetween(String value1, String value2) {
            addCriterion("answer.topic between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andTopicNotBetween(String value1, String value2) {
            addCriterion("answer.topic not between", value1, value2, "topic");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNull() {
            addCriterion("answer.reportTime is null");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNotNull() {
            addCriterion("answer.reportTime is not null");
            return (Criteria) this;
        }

        public Criteria andReportTimeEqualTo(Date value) {
            addCriterion("answer.reportTime =", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotEqualTo(Date value) {
            addCriterion("answer.reportTime <>", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThan(Date value) {
            addCriterion("answer.reportTime >", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("answer.reportTime >=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThan(Date value) {
            addCriterion("answer.reportTime <", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThanOrEqualTo(Date value) {
            addCriterion("answer.reportTime <=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIn(List<Date> values) {
            addCriterion("answer.reportTime in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotIn(List<Date> values) {
            addCriterion("answer.reportTime not in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeBetween(Date value1, Date value2) {
            addCriterion("answer.reportTime between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotBetween(Date value1, Date value2) {
            addCriterion("answer.reportTime not between", value1, value2, "reportTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}